<?php
/**
 * 默认的Application配置选项
 * 
 * @version $Id$
 * @since 0.0.3
 */
return array(
	/**
	 * 初始化文件
	 */
//	"init-file" => "init/Initialize.php",
	
	/**
	 * 应用的根路径
	 */
	"app-root" => "../",
	
	/**
	 * 程序文件的查找路径
	 */
	"include-path" => array(
		"./lib"//可以是Z-F、Smarty、PEAR等框架的所在目录
	),
	
	/**
	 * classpath
	 * 
	 * 用来查询类
	 */
	"class-path" => array(
		"lib",
		"app/models",
		"app/views",
		"app/helpers",
		"app/controllers",
		"app/filters"
	),
	
	/**
	 * 错误报告级别
	 * 
	 */
	"error-reporting" => array(
		"level" => E_ALL
	),
	
	/**
	 * 日志报告级别
	 */
	"logger" => array(
		"level" => ILogger::LOGGER_WARNING      
	),
	
	/**
	 * 异常处理
	 * 
	 */
	"exception-handler" => array(
//		"file" => "logs/exception.log",
		"stdout" => true,
		/**"pages" => array( // 显示的网页，默认为跳转
			"default" => "error.html",
			"IException" => "server-error.html",
			"IDarException" => array(
				"forward" => "db-error.php"
			),
			"IOException" => array(
				"redirect" => "io-error.html"
			)
		)**/
	),
	
	/**
	 * server配置
	 */
	"server" => array(
//		"config" => "./etc/iframework-web.conf"
	),
	
	/**
	 * 文件缓存配置
	 */
	"cache" => array(
		"model" => "file",
		"ttl" => 3600,
		"dir" => "../cache"
	),
	
	/**
	 * 日期设定
	 * 
	 * @since 0.1.1
	 */
	"date" => array(
		"timezone" => "Asia/Chongqing"
	)
);

?>